﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/HomeMaster.Master" AutoEventWireup="true" CodeFile="Sitemap.aspx.cs" Inherits="SaleOffVn.Web.Sitemap" Title="Site Map - InfoNam" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript">
    hasGrayBG = true;
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CenterContentPlaceHolder" Runat="Server">
    <div id="Sitemap">
        <div id="Sitemap1">       
        <asp:Repeater runat="server" ID="Repeater1" DataSourceID="SiteMapDataSource1">
	        <HeaderTemplate><h1>Site Map</h1></HeaderTemplate>            
	        <ItemTemplate>
			        <asp:Label ID="HyperLink1" runat="server" Text='<%# Eval("Title") %>' CssClass="sitemap-header"></asp:Label>
			        <asp:Repeater runat="server" id="SecondLevel" DataSource='<%# ((SiteMapNode) Container.DataItem).ChildNodes %>'>
				        <HeaderTemplate><ul></HeaderTemplate>
				        <ItemTemplate>
					        <li>
						        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Url") %>' Text='<%# Eval("Title") %>'></asp:HyperLink>
					        </li>
					        <asp:Repeater runat="server" id="SecondLevel2" DataSource='<%# ((SiteMapNode) Container.DataItem).ChildNodes %>'>
						        <HeaderTemplate><ul></HeaderTemplate>
						        <ItemTemplate>
							        <li>
								        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# Eval("Url") %>' Text='<%# Eval("Title") %>'></asp:HyperLink>
							        </li>
						        </ItemTemplate>
						        <FooterTemplate></ul></FooterTemplate>
					        </asp:Repeater>
				        </ItemTemplate>
				        <FooterTemplate></ul></FooterTemplate>
			        </asp:Repeater>
        		
	            </ItemTemplate>
	            <FooterTemplate></FooterTemplate>
            </asp:Repeater>
            <asp:SiteMapDataSource ShowStartingNode="false" ID="SiteMapDataSource1" runat="server" SiteMapProvider="SitemapProvider" />         
        </div> 
        <div id="Sitemap2">       
        <asp:Repeater runat="server" ID="Repeater2" DataSourceID="SiteMapDataSource2">
	        <HeaderTemplate><h1>&nbsp;</h1></HeaderTemplate>            
	        <ItemTemplate>  
        				  
			        <asp:Label ID="HyperLink1" runat="server" Text='<%# Eval("Title") %>' CssClass="sitemap-header"></asp:Label>
			        <asp:Repeater runat="server" id="SecondLevel" DataSource='<%# ((SiteMapNode) Container.DataItem).ChildNodes %>'>
				        <HeaderTemplate><ul></HeaderTemplate>
				        <ItemTemplate>
					        <li>
						        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Url") %>' Text='<%# Eval("Title") %>'></asp:HyperLink>
					        </li>
					        <asp:Repeater runat="server" id="SecondLevel2" DataSource='<%# ((SiteMapNode) Container.DataItem).ChildNodes %>'>
						        <HeaderTemplate><ul></HeaderTemplate>
						        <ItemTemplate>
							        <li>
								        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# Eval("Url") %>' Text='<%# Eval("Title") %>'></asp:HyperLink>
							        </li>
						        </ItemTemplate>
						        <FooterTemplate></ul></FooterTemplate>
					        </asp:Repeater>
				        </ItemTemplate>
				        <FooterTemplate></ul></FooterTemplate>
			        </asp:Repeater>
        		
	            </ItemTemplate>
	            <FooterTemplate></FooterTemplate>
            </asp:Repeater>
            <asp:SiteMapDataSource ShowStartingNode="false" ID="SiteMapDataSource2" runat="server" SiteMapProvider="SitemapProvider1" />         
        </div>
        <div class="clear"></div>
    </div>    
</asp:Content>

